#define	READ_MODE	0
#define	CALIB_MODE	1

#define KEYS		PINB
#define	INCR_KEY	PB0
#define	DCR_KEY		PB1
#define	ENTER_KEY	PB2
#define	NEXT_KEY	PB3
#define DEBOUNCE_TIME	25
#define SEVEN_SEGMENT_PORT PORTC
#define MUX_PORT PORTA

